package com.example.dynamicdatabasedemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

/**
 * @Description:
 * @Author: dengping.xu
 * @Data: 2021-07-23
 */
@Configuration
@MapperScan("com.example.dynamicdatabasedemo.mapper")
public class SettingsMybatisConfig extends DataSourceConfig{

    @Autowired
    SettingsModuleConfig settingsModuleConfig;

    @Override
    protected DbMoudleConfig getDbMoudleConfig() {
        return settingsModuleConfig;
    }
}
